<?php
namespace Admin\Controller;
use Common\Controller\AdminController;

class SybbController extends AdminController{

	public function xbhz(){
		$where = '1=1';
		$where .= $_GET['xb_name'] ? ' and xb_name like "%' . $_GET['xb_name'] . '%"' : '';
		$list = $this->getList('*', 'sybb', $where, 'id desc', true);
		$this->assign('list', $list);
		$this->display();
	}
	public function sbsy(){
		$where = '1=1';
		$where .= $_GET['xb_name'] ? ' and xb_name like "%' . $_GET['xb_name'] . '%"' : '';
		$list = $this->getList('*', 'sybb', $where, 'id desc', true);
		$this->assign('list', $list);
		$this->display();
	}
}